package cn.lili.controller.feign;

import cn.lili.modules.promotion.client.GreenProjectClient;
import cn.lili.modules.promotion.service.GreenProjectService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
public class GreenProjectFeignController implements GreenProjectClient {

    private final GreenProjectService greenProjectService;

    @Override
    public void updateGreenProjectStatus() {
        greenProjectService.updateGreenProjectStatus();
    }
}
